home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / misc_pto / bmacs / prev.cb < prev    next >
Text File  |  1991-03-07  |  325b  |  17 lines

  1. /* PREV inserts at the current position the character directly above
  2.    the current position.  Inspired by a similarly named command built
  3.     in QEdit.
  4.     Suggested key assignment: Ctrl-Ins
  5.     Written March 8, 1991 by Luigi Bianchi
  6. */
  7.  
  8. void prev()
  9. {
  10.     string temp;
  11.  
  12.     up();
  13.     temp = read(1);
  14.     down();
  15.     insert(temp);
  16. }
  17.